//
//  ButtonScrollView.h
//  DaMaoMall
//
//  Created by HXHL-wally on 16/7/13.
//  Copyright © 2016年 daMao-wally. All rights reserved.
//

#import <UIKit/UIKit.h>


@class ButtonScrollView;

@protocol ButtonScrollViewDelegate <NSObject>

@optional


- (void)didSelectScrollButtonAtIndex:(NSInteger)index;

@end

@interface ButtonScrollView : UIScrollView

@property(nonatomic, strong)id <ButtonScrollViewDelegate> buttonScrollViewDelegate;

+ (instancetype)ButtonScrollViewWithFarme:(CGRect)farme delegate:(id<ButtonScrollViewDelegate>)delegate ImageURLStringsGroup:(NSArray *)urlArray titlesGroup:(NSArray *)titlesArray;

/** 网络图片 url string 数组 */
@property (nonatomic, strong) NSArray *imageURLStringsGroup;

/** 每张图片对应要显示的文字数组 */
@property (nonatomic, strong) NSArray *titlesGroup;

// button 图片
@property (nonatomic, strong)UIImage * image;



@end
